package com.pkk.cloud.support.admin.oauth2.api.common.resp;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 系统用户信息
 * @author: peikunkun
 * @create: 2020-03-18 13:05
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PenguinSysUserInfo implements Serializable {

  private static final long serialVersionUID = 4772780894794116203L;


  private String id;

  /**
   * 账号
   */
  private String username;

  /**
   * 密码
   */
  private String password;

  /**
   * 是否启用
   */
  private boolean enabled;

  /**
   * 账号不过期
   */
  private boolean accountNonExpired;

  /**
   * 凭他不过期
   */
  private boolean credentialsNonExpired;

  /**
   * 账号不被锁定
   */
  private boolean accountNonLocked;

}
